package com.han.fu.api.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.han.fu.api.business.entity.Activity;
import com.han.fu.api.business.model.ao.ActivityPageAo;
import com.han.fu.api.business.model.vo.ActivityVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 活动Mapper接口
 *
 * @author star
 * @date 2021-08-05
 */
@Mapper
public interface ActivityMapper extends BaseMapper<Activity> {

    /**
     * 活动分页查询
     *
     * @param ao 分页查询条件
     * @return Page<ActivityVo> 分页数据
     */
    Page<ActivityVo> queryActivityPage(ActivityPageAo ao);
}
